/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package intervalMath;

import java.math.*;

/**
 *
 * @author Vera
 */
public class Main {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
      //  KaucherIntervalArithmetic i2 = new KaucherIntervalArithmetic("[-3;0]");
//        KaucherIntervalArithmetic i3 = new KaucherIntervalArithmetic(2, 7);
//        KaucherIntervalArithmetic i4 = i2.mult(i3);
//        String a = "La la la";
//
//        String regexpForDouble = "-?\\d+(\\.\\d+)?";
//        Pattern valid = Pattern.compile(regexpForDouble);
//        Matcher m = valid.matcher("-05.763.");
//        boolean isValid = m.matches();
//
//
      //  System.out.println(IntervalElementaryMath.sin(i2));
        BigDecimal arg = new BigDecimal(3);
        BigDecimal result1 = ElementaryMath.sin(arg,15,RoundingMode.CEILING);
        System.out.println(result1);
        
    }
    
    public static void func(int i) {
        i = i + 1;
    }

}
